/** @format */

const aType = {
    abc: {
        /**
         * 数字
         */
        a: 1,
        b: '2',
        c: (): number => {
            return 3;
        },
    },
    cba: true,
    bca: null,
    acb: undefined,
    bac: [1, 2, 3, 4],
    cab: ['a', 'b', 'c'],
};

type Demo = typeof aType;

function aaa(): Demo {
    const aa: Demo = {
        ...aType,
        cba: false,
    };
    aa.abc.a;
    console.log(aa);
    return aa;
}

aaa();
console.log('Hello World！');
